﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EditUserInfo.aspx.cs" Inherits="Web.EditUserInfo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>修改个人信息</title>
        <link href="css/style.css" rel="stylesheet" type="text/css" />
    <link href="js/formValidator/style/validator.css" rel="stylesheet" type="text/css" />
    <link href="js/boxy/stylesheets/boxy.css" rel="stylesheet" type="text/css" />
    <script src="js/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="js/formValidator/formValidator.js" type="text/javascript"></script>
    <script src="js/formValidator/formValidatorRegex.js" type="text/javascript"></script>
    <script src="js/module.js" type="text/javascript"></script>
    <script src="js/boxy/javascripts/jquery.boxy.js" type="text/javascript"></script>

    <script type="text/javascript"> 
$(document).ready(function(){
	$.formValidator.initConfig({formid:"form1",onerror:function(){alert("校验没有通过，具体错误请看错误提示")}});
	$("#Email").formValidator({onshow:"请输入你的email",onfocus:"请注意你输入的email格式，例如:abc@bcd.com",oncorrect:"谢谢你的合作，你的email正确"}).regexValidator({regexp:"email",datatype:"enum",onerror:"email格式不正确"});

});
</script> 
    
</head>
<body>
<div id='main'>
    <form id="form1" runat="server">
    <div id='block'>
    <div id="blocktitle">密码修改</div>
    <div id='blockcontent'>
        <div class="formdiv">当前密码：<asp:TextBox ID="OldPassword" runat="server" 
            TextMode="Password"></asp:TextBox></div>
    <div class="formdiv">新 密 码：<asp:TextBox ID="NewPassword" runat="server" 
            TextMode="Password"></asp:TextBox></div>
            <div class="formdiv">重复密码：<asp:TextBox ID="RePassword" runat="server" 
            TextMode="Password"></asp:TextBox></div>
    </div>
    <div id="blocktitle">用户信息修改</div>
    <div id="blockcontent">
    <div class="formdiv">E-mail&nbsp;&nbsp;：<asp:TextBox ID="Email" runat="server"></asp:TextBox><div id='Emailtip' style="width:250px"></div></div>
    <div class="formdiv">真实姓名：<asp:TextBox ID="Name" runat="server"></asp:TextBox></div>
    <div class="formdiv">性&nbsp;&nbsp;别&nbsp;&nbsp;：<asp:DropDownList ID="Sex" runat="server">
        <asp:ListItem Selected="True" Value="1">男</asp:ListItem>
        <asp:ListItem Value="2">女</asp:ListItem>
        </asp:DropDownList>
    </div>
    <div class="formdiv">年&nbsp;&nbsp;龄&nbsp;&nbsp;：<asp:TextBox ID="Age" runat="server"></asp:TextBox></div>
    <div class="formdiv">联系地址：<asp:TextBox ID="Address" runat="server"></asp:TextBox></div>
    <div class="formdiv">邮政编码：<asp:TextBox ID="Postcode" runat="server"></asp:TextBox></div>
    <div class="formdiv">联系电话：<asp:TextBox ID="Tel" runat="server"></asp:TextBox><div id='teltip' style="width:250px"></div></div>
    <div class="formdiv">任教学校：<asp:TextBox ID="School" runat="server"></asp:TextBox></div>
    <div class="formdiv">职&nbsp;&nbsp;称&nbsp;&nbsp;：<asp:DropDownList ID="Caste" runat="server">
        <asp:ListItem Value="1">教师</asp:ListItem>
        <asp:ListItem Value="2">特级教师</asp:ListItem>

        </asp:DropDownList>
    </div>
    <div class="formdiv">职&nbsp;&nbsp;务&nbsp;&nbsp;：<asp:DropDownList ID="Business" runat="server">
            <asp:ListItem Selected="True" Value="1">教师</asp:ListItem>
        <asp:ListItem Value="2">年级主任</asp:ListItem>
        <asp:ListItem Value="3">教务主任</asp:ListItem>
        <asp:ListItem Value="4">副校长</asp:ListItem>
        <asp:ListItem Value="5">校长</asp:ListItem>
        </asp:DropDownList>
    </div>
    
    </div>
    <div id="blocktitle">个人简介：</div>
    <div id="blockcontent"><asp:TextBox ID="Intro" runat="server" Rows="10" 
            TextMode="MultiLine" Width="100%"></asp:TextBox></div>
    <div id="blockfloor">
        <asp:Button ID="Button1" runat="server" Text="注册" onclick="Button1_Click" /></div>
    </div>
    </form>
</div>
</body>
</html>
